 document.body.style.height  = window.innerHeight+"px";
 


/*动态改变根元素字体大小*/
			function recalc() {
				var clientWidth = document.documentElement.clientWidth;
				if(!clientWidth) return;
				document.documentElement.style.fontSize = 40 * (clientWidth /640) + 'px';
													//字体大小 =   1rem单位表示多少个像素* (设备的宽度/设计图宽度)
			}

			function initRecalc() {
				recalc();
				var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
				if(!document.addEventListener) return;
				window.addEventListener(resizeEvt, recalc, false);
				document.addEventListener('DOMContentLoaded', recalc, false);
			}
			initRecalc();
			

function generalize(){
	document.getElementById("generalizeopen").style.display="block";
}
function generalizeclose(){
	document.getElementById("generalizeopen").style.display="none";
}


var login=document.getElementById("productfinish2");
function loginClick(){
	login.style.display="block";
	setTimeout(function(){
		login.style.display="none";
		window.location.href = "productmanageindex.html";
	},2000);
	
}